<div id="river_container2">
<div class="dash_pad">

<?php

	$page_owner = page_owner_entity();	
	
	if($page_owner->getGUID()==get_loggedin_userid())
	{
		$count = people_you_might_know_get_entities($page_owner->getGUID(),"",$limit,0,true);
		if((int)$count > 0)
		{ 
			
			$body = "<div class='peopletop'><div style='padding:5px'>";
			$body .= "<h4>" . elgg_echo("peopleyoumightknow") . "</h4>";
			$body .= "</div></div>";
			$body .= "<div id='peopleyoumightknow-cont1'>";
			$body .= "" . people_you_might_know_get_entities_list_entities($vars['user']->getGUID(),3);
			$body .= "<a href='{$vars['url']}pg/peopleyoumightknow/' >" . elgg_echo("peopleyoumightknow:seeall") . "</a>";
			$body .= "</div>";
			echo $body;
		}
	}
?>
</div></div>